#ifndef FASYS_LIBS_API_SUBSCRIBE_HPP
#define FASYS_LIBS_API_SUBSCRIBE_HPP

#include "types.hpp"

namespace fasys{ namespace api{

struct subscribe_base
{
  std::string channel;
  time_t timeout;
  subscribe_base()
    : timeout(0){}
};

struct subscribe_request
  : subscribe_base
{
};

struct subscribe_response
  : subscribe_base
{
  channel_id_t channel_id;
  size_t count;
  subscribe_response()
    : channel_id(0)
    , count(0)
  {}
};



}}

#endif
